package com.zhongjinkang.rhythm.viewModel

import androidx.lifecycle.MutableLiveData
import com.zhongjinkang.rhythm.Model.PeopleDetailModel
import com.zhongjinkang.rhythm.uiBean.PortrayBean

class PeopleDetailViewModel : BaseViewModel<PeopleDetailModel>(PeopleDetailModel()) {

    var list = MutableLiveData<List<PortrayBean>>()


    init {
        model?.let {
            model
        }

    }

    fun getAdapterList(peopleId: Long, name: String) {
        model?.let {
            list.value = it.getList(peopleId, name)
        }
    }


}